<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<th:block th:fragment="headBar">
    <!-- Preloader Start -->
    <header>
        <div class="header-area">
            <div class="header-mid header-sticky">
                <div class="container">
                    <div class="menu-wrapper">
                        <!-- Logo -->
                        <div class="logo">
                            <a th:href="@{/index}"><img th:src="@{/assets/img/logo/logo.png}"></a>
                        </div>
                        <!-- Main-menu -->
                        <div class="main-menu d-none d-lg-block">
                            <nav>
                                <ul id="navigation">
                                    <li><a th:href="@{/index}">主页</a></li>
                                    <li><a th:href="@{/orders}">我的订单</a></li>
                                </ul>
                            </nav>
                        </div>
                        <!-- Header Right -->
                        <div class="header-right">
                            <ul>
                                <li><a th:href="@{/user}"><span class="flaticon-user"></span></a></li>
                                <li><a th:href="@{/cart}"><span class="flaticon-shopping-cart"></span></a></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            <div class="header-bottom text-center">
                <p>购买最高可享受50%的最大折扣。限时特价优惠！ <a th:href="@{/orders}" class="browse-btn">现在就买</a></p>
            </div>
        </div>
    </header>
</th:block>

</html>